package com.jia.train.seat.service;

import com.jia.train.global.page.PageResponse;
import com.jia.train.seat.request.GeneratorSeatRequest;
import com.jia.train.seat.request.TrainSeatQueryRequest;
import com.jia.train.seat.request.TrainSeatSaveRequest;
import com.jia.train.seat.response.TrainSeatQueryResponse;
import com.jia.train.seat.response.TrainSeatSaveResponse;

public interface TrainSeatService {

    TrainSeatSaveResponse insert(TrainSeatSaveRequest request);

    PageResponse<TrainSeatQueryResponse> selectPage(TrainSeatQueryRequest request);

    void deleteTrainSeat(Long id);

    Integer generatorSeat(GeneratorSeatRequest request);
}
